package com.example.kafka;

import com.example.kafka.producer.Producer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;

@SpringBootApplication
public class KafkaApplication {

    @Autowired
    private Producer userLogProducer;

    public static void main(String[] args) {
        SpringApplication.run(KafkaApplication.class, args);
    }


}
